<template>
  <div>
    <el-button type="primary" size="mini" @click="handleUpdate">修改</el-button>
    <el-button type="danger" size="mini" @click="handleDelete">删除</el-button>
  </div>
</template>

<script>
export default {
  name: 'TableOptionGroup',
  props: {
    type: {
      type: String,
      default: 'button'
    }
  },
  methods: {
    handleDelete() {
      this.$emit('handleDelete')
    },
    handleUpdate() {
      this.$emit('handleUpdate')
    }
  }
}
</script>

<style scoped>

</style>
